package com.octlan.equationgraph.util
{

    public class XMLHelper
    {
        public function XMLHelper()
        {
        }
        public static function removeNamespaceURI(str:String):XML
        {
            var xmlnsPattern:RegExp = new RegExp("wb:", "g");
            str = str.replace(xmlnsPattern, "");
            str = str.replace('xmlns:wb="http://www.worldbank.org"', '');
            var info:XML = new XML(str);
            return info;
        }
    }
}